package com.gz.springboot.config;

import com.gz.springboot.bean.Cat;
import com.gz.springboot.bean.Dog;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

@Import(Cat.class) //这也是一种给容器添加组件的办法
@Configuration
public class BeanConfig2 {
}
